import http from '@/utils/http/axios';

// 获取字典结构
export function getDict(type = {}) {
  return http.request(
    {
      url: `/system/sysDict/get/${type}`,
      method: 'get',
    },
    {
      isTransformResponse: false,
    }
  );
}
